package com.letian.record.service;

import java.util.List;
import com.letian.record.domain.RecordOrder;

/**
 * 记录订单Service接口
 * 
 * @author bmz
 * @date 2023-07-20
 */
public interface IRecordOrderService 
{
    /**
     * 查询记录订单
     * 
     * @param orderId 记录订单主键
     * @return 记录订单
     */
    public RecordOrder selectRecordOrderByOrderId(Long orderId);

    /**
     * 查询记录订单列表
     * 
     * @param recordOrder 记录订单
     * @return 记录订单集合
     */
    public List<RecordOrder> selectRecordOrderList(RecordOrder recordOrder);

    /**
     * 新增记录订单
     * 
     * @param recordOrder 记录订单
     * @return 结果
     */
    public int insertRecordOrder(RecordOrder recordOrder);

    /**
     * 修改记录订单
     * 
     * @param recordOrder 记录订单
     * @return 结果
     */
    public int updateRecordOrder(RecordOrder recordOrder);

    /**
     * 批量删除记录订单
     * 
     * @param orderIds 需要删除的记录订单主键集合
     * @return 结果
     */
    public int deleteRecordOrderByOrderIds(Long[] orderIds);

    /**
     * 删除记录订单信息
     * 
     * @param orderId 记录订单主键
     * @return 结果
     */
    public int deleteRecordOrderByOrderId(Long orderId);
}
